<ul id="main-menu">
    <li class="glyphicon glyphicon-th-large"> <?php echo $this->Html->link(__(' Dashboard'), array('controller'=>'pages','action' => 'dashboard')); ?></li>
     <li class="glyphicon glyphicon glyphicon-pushpin"> <?php echo $this->Html->link(__(' Posts'), array('controller'=>'posts','action' => 'index')); ?>
         <ul class="sub-menu">
             <li> <?php echo $this->Html->link(__(' All Posts'), array('controller'=>'posts','action' => 'index')); ?></li>
             <li> <?php echo $this->Html->link(__(' New Post'), array('controller'=>'posts','action' => 'add')); ?></li>
             <li> <?php echo $this->Html->link(__(' All Categories'), array('controller'=>'categories','action' => 'index')); ?></li>
             <li> <?php echo $this->Html->link(__(' New Category'), array('controller'=>'categories','action' => 'add')); ?></li>
         </ul></li>
     <li class="glyphicon glyphicon glyphicon-pushpin"> <?php echo $this->Html->link(__(' Pages'), array('controller'=>'pages','action' => 'all')); ?>
     <ul class="sub-menu">
             <li> <?php echo $this->Html->link(__(' All Pages'), array('controller'=>'pages','action' => 'all')); ?></li>
             <li> <?php echo $this->Html->link(__(' New Page'), array('controller'=>'pages','action' => 'add')); ?></li>
             
         </ul></li>
     <li class="glyphicon glyphicon-list"> <?php echo $this->Html->link(__(' Menu'), array('controller'=>'menus','action' => 'index')); ?>
     <ul class="sub-menu">
             <li> <?php echo $this->Html->link(__(' All Menus'), array('controller'=>'mlocations','action' => 'index')); ?></li>
             <li> <?php echo $this->Html->link(__(' New Category'), array('controller'=>'mlocations','action' => 'add')); ?></li>
             
         </ul></li>
         <li class="glyphicon glyphicon-picture"> <?php echo $this->Html->link(__(' Media'), array('controller'=>'settings','action' => 'edit')); ?></li>
      <li class="glyphicon glyphicon-cog"> <?php echo $this->Html->link(__(' Setting'), array('controller'=>'settings','action' => 'edit')); ?></li>
       
</ul>